3.130 \(\int \frac {\sec (e+f x) (a+a \sec (e+f x))^{5/2}}{(c-c \sec (e+f x))^{7/2}} \, dx\)

Optimal. Leaf size=42 \[ -\frac {\tan (e+f x) (a \sec (e+f x)+a)^{5/2}}{6 f (c-c \sec (e+f x))^{7/2}} \]

[Out]

-1/6*(a+a*sec(f*x+e))^(5/2)*tan(f*x+e)/f/(c-c*sec(f*x+e))^(7/2)

________________________________________________________________________________________

Rubi [A]  time = 0.15, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.028, Rules used = {3950} \[ -\frac {\tan (e+f x) (a \sec (e+f x)+a)^{5/2}}{6 f (c-c \sec (e+f x))^{7/2}} \]

Antiderivative was successfully verified.

[In]

Int[(Sec[e + f*x]*(a + a*Sec[e + f*x])^(5/2))/(c - c*Sec[e + f*x])^(7/2),x]

[Out]

-((a + a*Sec[e + f*x])^(5/2)*Tan[e + f*x])/(6*f*(c - c*Sec[e + f*x])^(7/2))

Rule 3950

Int[csc[(e_.) + (f_.)*(x_)]*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_)*(csc[(e_.) + (f_.)*(x_)]*(d_.) + (c_))
^(n_.), x_Symbol] :> Simp[(b*Cot[e + f*x]*(a + b*Csc[e + f*x])^m*(c + d*Csc[e + f*x])^n)/(a*f*(2*m + 1)), x] /
; FreeQ[{a, b, c, d, e, f, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && EqQ[m + n + 1, 0] && NeQ[2*m
 + 1, 0]

Rubi steps

\begin {align*} \int \frac {\sec (e+f x) (a+a \sec (e+f x))^{5/2}}{(c-c \sec (e+f x))^{7/2}} \, dx &=-\frac {(a+a \sec (e+f x))^{5/2} \tan (e+f x)}{6 f (c-c \sec (e+f x))^{7/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.56, size = 76, normalized size = 1.81 \[ \frac {a^2 (3 \cos (2 (e+f x))+5) \csc ^5\left (\frac {1}{2} (e+f x)\right ) \sec \left (\frac {1}{2} (e+f x)\right ) \sqrt {a (\sec (e+f x)+1)}}{48 c^3 f \sqrt {c-c \sec (e+f x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[(Sec[e + f*x]*(a + a*Sec[e + f*x])^(5/2))/(c - c*Sec[e + f*x])^(7/2),x]

[Out]

(a^2*(5 + 3*Cos[2*(e + f*x)])*Csc[(e + f*x)/2]^5*Sec[(e + f*x)/2]*Sqrt[a*(1 + Sec[e + f*x])])/(48*c^3*f*Sqrt[c
 - c*Sec[e + f*x]])

________________________________________________________________________________________

fricas [B]  time = 0.44, size = 126, normalized size = 3.00 \[ \frac {{\left (3 \, a^{2} \cos \left (f x + e\right )^{3} + a^{2} \cos \left (f x + e\right )\right )} \sqrt {\frac {a \cos \left (f x + e\right ) + a}{\cos \left (f x + e\right )}} \sqrt {\frac {c \cos \left (f x + e\right ) - c}{\cos \left (f x + e\right )}}}{3 \, {\left (c^{4} f \cos \left (f x + e\right )^{3} - 3 \, c^{4} f \cos \left (f x + e\right )^{2} + 3 \, c^{4} f \cos \left (f x + e\right ) - c^{4} f\right )} \sin \left (f x + e\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(7/2),x, algorithm="fricas")

[Out]

1/3*(3*a^2*cos(f*x + e)^3 + a^2*cos(f*x + e))*sqrt((a*cos(f*x + e) + a)/cos(f*x + e))*sqrt((c*cos(f*x + e) - c
)/cos(f*x + e))/((c^4*f*cos(f*x + e)^3 - 3*c^4*f*cos(f*x + e)^2 + 3*c^4*f*cos(f*x + e) - c^4*f)*sin(f*x + e))

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: NotImplementedError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(7/2),x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> Unable to parse Giac output: Unable to check sign: (4*pi/x/2)>(-4*pi/
x/2)a^2*(1/6*a^2+1/6*a^5/(-a*tan(1/2*(f*x+exp(1)))^2)^3)/c^3/sqrt(-a*c)/f/abs(a)/sign(tan(1/2*(f*x+exp(1)))^2-
1)

________________________________________________________________________________________

maple [B]  time = 1.96, size = 75, normalized size = 1.79 \[ -\frac {\left (\sin ^{5}\left (f x +e \right )\right ) \sqrt {\frac {a \left (1+\cos \left (f x +e \right )\right )}{\cos \left (f x +e \right )}}\, a^{2}}{6 f \left (-1+\cos \left (f x +e \right )\right )^{2} \cos \left (f x +e \right )^{3} \left (\frac {c \left (-1+\cos \left (f x +e \right )\right )}{\cos \left (f x +e \right )}\right )^{\frac {7}{2}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(f*x+e)*(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(7/2),x)

[Out]

-1/6/f*sin(f*x+e)^5*(a*(1+cos(f*x+e))/cos(f*x+e))^(1/2)/(-1+cos(f*x+e))^2/cos(f*x+e)^3/(c*(-1+cos(f*x+e))/cos(
f*x+e))^(7/2)*a^2

________________________________________________________________________________________

maxima [B]  time = 0.58, size = 1815, normalized size = 43.21 \[ \text {result too large to display} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))^(5/2)/(c-c*sec(f*x+e))^(7/2),x, algorithm="maxima")

[Out]

2/3*(208*a^2*cos(3*f*x + 3*e)*sin(2*f*x + 2*e) + 48*a^2*cos(f*x + e)*sin(2*f*x + 2*e) - 48*a^2*cos(2*f*x + 2*e
)*sin(f*x + e) - 3*a^2*sin(f*x + e) - (3*a^2*sin(7*f*x + 7*e) + 13*a^2*sin(5*f*x + 5*e) + 13*a^2*sin(3*f*x + 3
*e) + 3*a^2*sin(f*x + e))*cos(8*f*x + 8*e) + 6*(8*a^2*sin(6*f*x + 6*e) + 15*a^2*sin(4*f*x + 4*e) + 8*a^2*sin(2
*f*x + 2*e))*cos(7*f*x + 7*e) - 16*(13*a^2*sin(5*f*x + 5*e) + 13*a^2*sin(3*f*x + 3*e) + 3*a^2*sin(f*x + e))*co
s(6*f*x + 6*e) + 26*(15*a^2*sin(4*f*x + 4*e) + 8*a^2*sin(2*f*x + 2*e))*cos(5*f*x + 5*e) - 30*(13*a^2*sin(3*f*x
 + 3*e) + 3*a^2*sin(f*x + e))*cos(4*f*x + 4*e) + (3*a^2*cos(7*f*x + 7*e) + 13*a^2*cos(5*f*x + 5*e) + 13*a^2*co
s(3*f*x + 3*e) + 3*a^2*cos(f*x + e))*sin(8*f*x + 8*e) - 3*(16*a^2*cos(6*f*x + 6*e) + 30*a^2*cos(4*f*x + 4*e) +
 16*a^2*cos(2*f*x + 2*e) + a^2)*sin(7*f*x + 7*e) + 16*(13*a^2*cos(5*f*x + 5*e) + 13*a^2*cos(3*f*x + 3*e) + 3*a
^2*cos(f*x + e))*sin(6*f*x + 6*e) - 13*(30*a^2*cos(4*f*x + 4*e) + 16*a^2*cos(2*f*x + 2*e) + a^2)*sin(5*f*x + 5
*e) + 30*(13*a^2*cos(3*f*x + 3*e) + 3*a^2*cos(f*x + e))*sin(4*f*x + 4*e) - 13*(16*a^2*cos(2*f*x + 2*e) + a^2)*
sin(3*f*x + 3*e))*sqrt(a)*sqrt(c)/((c^4*cos(8*f*x + 8*e)^2 + 36*c^4*cos(7*f*x + 7*e)^2 + 256*c^4*cos(6*f*x + 6
*e)^2 + 676*c^4*cos(5*f*x + 5*e)^2 + 900*c^4*cos(4*f*x + 4*e)^2 + 676*c^4*cos(3*f*x + 3*e)^2 + 256*c^4*cos(2*f
*x + 2*e)^2 + 36*c^4*cos(f*x + e)^2 + c^4*sin(8*f*x + 8*e)^2 + 36*c^4*sin(7*f*x + 7*e)^2 + 256*c^4*sin(6*f*x +
 6*e)^2 + 676*c^4*sin(5*f*x + 5*e)^2 + 900*c^4*sin(4*f*x + 4*e)^2 + 676*c^4*sin(3*f*x + 3*e)^2 + 256*c^4*sin(2
*f*x + 2*e)^2 - 192*c^4*sin(2*f*x + 2*e)*sin(f*x + e) + 36*c^4*sin(f*x + e)^2 - 12*c^4*cos(f*x + e) + c^4 - 2*
(6*c^4*cos(7*f*x + 7*e) - 16*c^4*cos(6*f*x + 6*e) + 26*c^4*cos(5*f*x + 5*e) - 30*c^4*cos(4*f*x + 4*e) + 26*c^4
*cos(3*f*x + 3*e) - 16*c^4*cos(2*f*x + 2*e) + 6*c^4*cos(f*x + e) - c^4)*cos(8*f*x + 8*e) - 12*(16*c^4*cos(6*f*
x + 6*e) - 26*c^4*cos(5*f*x + 5*e) + 30*c^4*cos(4*f*x + 4*e) - 26*c^4*cos(3*f*x + 3*e) + 16*c^4*cos(2*f*x + 2*
e) - 6*c^4*cos(f*x + e) + c^4)*cos(7*f*x + 7*e) - 32*(26*c^4*cos(5*f*x + 5*e) - 30*c^4*cos(4*f*x + 4*e) + 26*c
^4*cos(3*f*x + 3*e) - 16*c^4*cos(2*f*x + 2*e) + 6*c^4*cos(f*x + e) - c^4)*cos(6*f*x + 6*e) - 52*(30*c^4*cos(4*
f*x + 4*e) - 26*c^4*cos(3*f*x + 3*e) + 16*c^4*cos(2*f*x + 2*e) - 6*c^4*cos(f*x + e) + c^4)*cos(5*f*x + 5*e) -
60*(26*c^4*cos(3*f*x + 3*e) - 16*c^4*cos(2*f*x + 2*e) + 6*c^4*cos(f*x + e) - c^4)*cos(4*f*x + 4*e) - 52*(16*c^
4*cos(2*f*x + 2*e) - 6*c^4*cos(f*x + e) + c^4)*cos(3*f*x + 3*e) - 32*(6*c^4*cos(f*x + e) - c^4)*cos(2*f*x + 2*
e) - 4*(3*c^4*sin(7*f*x + 7*e) - 8*c^4*sin(6*f*x + 6*e) + 13*c^4*sin(5*f*x + 5*e) - 15*c^4*sin(4*f*x + 4*e) +
13*c^4*sin(3*f*x + 3*e) - 8*c^4*sin(2*f*x + 2*e) + 3*c^4*sin(f*x + e))*sin(8*f*x + 8*e) - 24*(8*c^4*sin(6*f*x
+ 6*e) - 13*c^4*sin(5*f*x + 5*e) + 15*c^4*sin(4*f*x + 4*e) - 13*c^4*sin(3*f*x + 3*e) + 8*c^4*sin(2*f*x + 2*e)
- 3*c^4*sin(f*x + e))*sin(7*f*x + 7*e) - 64*(13*c^4*sin(5*f*x + 5*e) - 15*c^4*sin(4*f*x + 4*e) + 13*c^4*sin(3*
f*x + 3*e) - 8*c^4*sin(2*f*x + 2*e) + 3*c^4*sin(f*x + e))*sin(6*f*x + 6*e) - 104*(15*c^4*sin(4*f*x + 4*e) - 13
*c^4*sin(3*f*x + 3*e) + 8*c^4*sin(2*f*x + 2*e) - 3*c^4*sin(f*x + e))*sin(5*f*x + 5*e) - 120*(13*c^4*sin(3*f*x
+ 3*e) - 8*c^4*sin(2*f*x + 2*e) + 3*c^4*sin(f*x + e))*sin(4*f*x + 4*e) - 104*(8*c^4*sin(2*f*x + 2*e) - 3*c^4*s
in(f*x + e))*sin(3*f*x + 3*e))*f)

________________________________________________________________________________________

mupad [B]  time = 6.04, size = 199, normalized size = 4.74 \[ -\frac {\sqrt {c-\frac {c}{\cos \left (e+f\,x\right )}}\,\left (\frac {a^2\,\cos \left (e+f\,x\right )\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sqrt {a+\frac {a}{\cos \left (e+f\,x\right )}}\,52{}\mathrm {i}}{3\,c^4\,f}+\frac {a^2\,{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\cos \left (3\,e+3\,f\,x\right )\,\sqrt {a+\frac {a}{\cos \left (e+f\,x\right )}}\,4{}\mathrm {i}}{c^4\,f}\right )}{{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sin \left (e+f\,x\right )\,28{}\mathrm {i}-{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sin \left (2\,e+2\,f\,x\right )\,28{}\mathrm {i}+{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sin \left (3\,e+3\,f\,x\right )\,12{}\mathrm {i}-{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sin \left (4\,e+4\,f\,x\right )\,2{}\mathrm {i}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a/cos(e + f*x))^(5/2)/(cos(e + f*x)*(c - c/cos(e + f*x))^(7/2)),x)

[Out]

-((c - c/cos(e + f*x))^(1/2)*((a^2*cos(e + f*x)*exp(e*4i + f*x*4i)*(a + a/cos(e + f*x))^(1/2)*52i)/(3*c^4*f) +
 (a^2*exp(e*4i + f*x*4i)*cos(3*e + 3*f*x)*(a + a/cos(e + f*x))^(1/2)*4i)/(c^4*f)))/(exp(e*4i + f*x*4i)*sin(e +
 f*x)*28i - exp(e*4i + f*x*4i)*sin(2*e + 2*f*x)*28i + exp(e*4i + f*x*4i)*sin(3*e + 3*f*x)*12i - exp(e*4i + f*x
*4i)*sin(4*e + 4*f*x)*2i)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(f*x+e)*(a+a*sec(f*x+e))**(5/2)/(c-c*sec(f*x+e))**(7/2),x)

[Out]

Timed out

________________________________________________________________________________________